<?php
class Nickname extends IDecorator{
	public function decorator($obj){
		$obj->weibo = preg_replace('/\@(终小南)/', 
				'<a href="http://weibo.com/n/$1" target="_blank">@$1</a>', 
				$obj->weibo);
	}
}